package com.ruoyi.voucher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 凭证字管理对象 voucher_word
 *
 * @author ruoyi
 * @date 2025-02-25
 */
public class VoucherWord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 凭证字ID */
    private Long wordId;

    /** 凭证字 */
    @Excel(name = "凭证字", required = false)
    private String wordName;

    /** 显示标题 */
    @Excel(name = "显示标题", required = false)
    private String displayTitle;

    /** 是否默认 */
    @Excel(name = "是否默认", required = false)
    private Integer isDefault;

    /** 创建人 */
    private String creator;

    /** 修改人 */
    private String modifier;

    /** 修改时间 */
    private Date modifyTime;

    /** 逻辑删除 */
    private Integer isDeleted;

    public void setWordId(Long wordId)
    {
        this.wordId = wordId;
    }

    public Long getWordId()
    {
        return wordId;
    }
    public void setWordName(String wordName)
    {
        this.wordName = wordName;
    }

    public String getWordName()
    {
        return wordName;
    }
    public void setDisplayTitle(String displayTitle)
    {
        this.displayTitle = displayTitle;
    }

    public String getDisplayTitle()
    {
        return displayTitle;
    }
    public void setIsDefault(Integer isDefault)
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault()
    {
        return isDefault;
    }
    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCreator()
    {
        return creator;
    }
    public void setModifier(String modifier)
    {
        this.modifier = modifier;
    }

    public String getModifier()
    {
        return modifier;
    }
    public void setModifyTime(Date modifyTime)
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime()
    {
        return modifyTime;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wordId", getWordId())
            .append("wordName", getWordName())
            .append("displayTitle", getDisplayTitle())
            .append("isDefault", getIsDefault())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("modifier", getModifier())
            .append("modifyTime", getModifyTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
